package com.kehutong.charge.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import org.coraframework.json.annotation.JSONField;
import org.coraframework.orm.annotation.Column;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * @program: kht
 * @description: 水表抄表列表导入
 * @author: jian Ye
 * @create: 2021/8/12
 **/
public class MeterReadingImportDTO implements Serializable {

    private static final long serialVersionUID = -1L;

    @NotNull(message = "仪表编号不能为空")
    @ExcelProperty(index = 0)
    private String meterNo;

    @NotNull(message = "仪表类型不能为空")
    @ExcelProperty(index = 1)
    private String meterTypeName;


    @ExcelProperty(index = 2)
    private String meterClassifyName;

    @NotNull(message = "项目/小区名称不能为空")
    @ExcelProperty(index = 3)
    private String communityName;


    @NotNull(message = "楼栋不能为空")
    @ExcelProperty(index = 4)
    private String buildName;

    @ExcelProperty(index = 5)
    private String unitName;


    @NotNull(message = "房号不能为空")
    @ExcelProperty(index = 6)
    private String houseNumber;

    @ExcelProperty(index = 7)
    private String chargeName;

    @ExcelProperty(index = 8)
    private String chargePhone;


    @NotNull(message = "本次读数不能为空")
    @ExcelProperty(index = 9)
    private String timeNumber;


    @NotNull(message = "抄表日期不能为空")
    @ExcelProperty(index = 10)
    private String createTime;


    @NotNull(message = "抄表人不能为空")
    @ExcelProperty(index = 11)
    private String createName;


    @NotNull(message = "抄表开始时间不能为空")
    @ExcelProperty(index = 12)
    private String startTime;


    @NotNull(message = "抄表截止时间不能为空")
    @ExcelProperty(index = 13)
    private String endTime;

    @ExcelIgnore
    private Integer index;


    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public String getMeterNo() {
        return meterNo;
    }

    public void setMeterNo(String meterNo) {
        this.meterNo = meterNo;
    }

    public String getMeterTypeName() {
        return meterTypeName;
    }

    public void setMeterTypeName(String meterTypeName) {
        this.meterTypeName = meterTypeName;
    }

    public String getMeterClassifyName() {
        return meterClassifyName;
    }

    public void setMeterClassifyName(String meterClassifyName) {
        this.meterClassifyName = meterClassifyName;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getBuildName() {
        return buildName;
    }

    public void setBuildName(String buildName) {
        this.buildName = buildName;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getHouseNumber() {
        return houseNumber;
    }

    public void setHouseNumber(String houseNumber) {
        this.houseNumber = houseNumber;
    }

    public String getChargeName() {
        return chargeName;
    }

    public void setChargeName(String chargeName) {
        this.chargeName = chargeName;
    }

    public String getChargePhone() {
        return chargePhone;
    }

    public void setChargePhone(String chargePhone) {
        this.chargePhone = chargePhone;
    }

    public String getTimeNumber() {
        return timeNumber;
    }

    public void setTimeNumber(String timeNumber) {
        this.timeNumber = timeNumber;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
}
